package com.chuantou.yuba.api.to;

import com.google.gson.annotations.SerializedName;

import android.os.Parcel;
import android.os.Parcelable;

public class HotNewsTO implements Parcelable {
	@SerializedName("id")
	private long id;
	@SerializedName("title")
	private String title;
	@SerializedName("dateline")
	private long time;
	@SerializedName("source")
	private String source;

	public HotNewsTO() {
	}

	public HotNewsTO(Parcel source2) {
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {

	}

	public static final Creator<HotNewsTO> CREATOR = new Creator<HotNewsTO>() {

		@Override
		public HotNewsTO[] newArray(int size) {
			return new HotNewsTO[size];
		}

		@Override
		public HotNewsTO createFromParcel(Parcel source) {
			return new HotNewsTO(source);
		}
	};

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

}
